home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19941221-19950208 / 000440_news@columbia.edu_Tue Feb 7 01:10:38 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA25582
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 7 Feb 1995 03:40:06 -0500
  3. Received: by apakabar.cc.columbia.edu id AA22790
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 7 Feb 1995 03:40:05 -0500
  5. Path: news.columbia.edu!panix!tinman.dev.prodigy.com!prodigy.com!uunet!newsfeed.pitt.edu!godot.cc.duq.edu!news.duke.edu!solaris.cc.vt.edu!usenet
  6. From: dhuguet@vt.edu (David Huguet)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: kermit script to load password?
  9. Date: 7 Feb 1995 01:10:38 GMT
  10. Organization: Retupmoc Nuf'
  11. Lines: 34
  12. Message-Id: <3h6hae$b1t@solaris.cc.vt.edu>
  13. Nntp-Posting-Host: dhuguet.async.vt.edu
  14. X-Newsreader: WinVN 0.92.1
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. I have this script that runs when I log on that will look for a file called "mypass.ker"
  18. which I suppose is supposed to contain my password.  I tried creating it 
  19. with 
  20. input "password", where "password" is my personal one, but it doesn't connect
  21. right.  It looks like it reads the password correctly, but then when it submits
  22. it to the password authentication server, I always get error messages.  I am 
  23. thinking that perhaps it is typing it in all caps or something that would make
  24. it unreadable to the server.  I would appreciate it if anyone out there who knows
  25. how to do kermit scripts at all could look at this script and tell me what I need
  26. to put in my "mypass.ker" script for it to work.  Thanks a lot.
  27.  
  28. here is the script that calls "mypass.ker":
  29. :GETPSWD
  30.     if INPATH mypass.ker goto PASSFILE
  31.     echo
  32.     echo {Please enter your password now (the one for Personal ID "\m(NWAPersonalID)"}
  33.     askq Passwd {   and IP Address "\m(NWTIPAddr)"), or "quit" to give up: \7}
  34.     if EQUAL x x\m(Passwd) goto GETPSWD
  35.     if NOT EQUAL xquit x\m(Passwd) goto END
  36.     ErrMsg {User entered "quit" in response to password prompt.}
  37.     Open Write UserQuit.FLG
  38.     Write File "User Canceled"
  39.     Close Write
  40.  
  41.     set errorlevel 6
  42.     goto END
  43.  
  44. :PASSFILE
  45.     ProgMsg {Loading password with MYPASS.KER...}
  46.     take mypass.ker
  47.  
  48. END
  49.  
  50. thank you in advance.